package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.service.MtnForstConn;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * 定时作业 保养预测
 * 
 * @author dsh
 * 
 */
public class MtnForstJob extends QuartzJobBean {

	private MtnForstConn jobData;

	/**
	 * 保养预测：每天2:00调用一次。 输入时间就是调用时间：xxxx-xx-01 2:00:00
	 */
	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		// 保养预测
		this.jobData.mtnForstShowTime();
	}

	public MtnForstConn getJobData() {
		return jobData;
	}

	public void setJobData(MtnForstConn jobData) {
		this.jobData = jobData;
	}
}
